<template>
  <model-wrap title-name="知识分类">
    <template v-slot:main>
      <el-collapse v-model="activeNames" @change="handleChange">
        <el-collapse-item
          v-for="typeItem in list"
          :key="typeItem.value"
          :title="typeItem.label"
          :name="typeItem.value"
        >
        </el-collapse-item>
      </el-collapse>
    </template>
  </model-wrap>
</template>

<script>
import ModelWrap from "./components/ModelWrap.vue";
import { LS_KNOW_TYPES } from "./data";

export default {
  name: "KnowClass",
  components: {
    ModelWrap,
  },
  data() {
    return {
      list: LS_KNOW_TYPES,
      activeNames: "",
    };
  },
  methods: {
    handleChange() {},
  },
};
</script>

<style></style>
